function Validate()
{
	var email_1 = trimAll(document.getElementById('contact_email').value);
	
	if (isWhitespace(document.getElementById('contact_name').value))
	{		
		alert("Please enter your Name.");
		document.getElementById('contact_name').focus();
		return false;
	}	
	if (isWhitespace(email_1))
	{		
		alert("Please enter your email address.");
		document.getElementById('contact_email').focus();
		return false;
	}		
	else if(!isEmail(email_1))
	{
	   alert("Please enter your email address in the correct format.");
	   document.getElementById('contact_email').focus();
	   return false;
	}	
	else if(!isCharsInBag( email_1, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@._-"))
	{
		alert("Your email address contains invalid characters.");
	    document.getElementById('contact_email').focus();
		return false;
	}
	if (isWhitespace(document.getElementById('contact_phone').value))
	{		
		alert("Please enter phone.");
		document.getElementById('contact_phone').focus();
		return false;
	}
	else if(!isCharsInBag(document.getElementById('contact_phone').value, "0123456789- "))
	{
		alert("Please enter phone in correct format.");
		document.getElementById('contact_phone').focus();
		return false;
	}
	if (isWhitespace(document.getElementById('contact_message').value))
	{		
		alert("Please enter message.");
		document.getElementById('contact_message').focus();
		return false;
	}
	return true;
}